<!DOCTYPE html>
<html style="overflow: hidden;">
<head>
    <meta charset="utf-8">
     <title>中华健身俱乐部</title>
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Cache-Control" content="no-cache">
    <meta http-equiv="Expires" content="0">
    <link rel="stylesheet" type="text/css" href="/static/new_ui/new_css/bootstrap.css">
    <link rel="stylesheet" type="text/css" href="/static/new_ui/new_css/base_v3.0.css">
    <link rel="stylesheet" type="text/css" href="/static/new_ui/new_css/themes.css">
    <link rel="stylesheet" type="text/css" href="/static/new_ui/new_css/colpick.css">
    <link href="http://ui.fcstatic.naryou.cn/static/libs/easyui/themes/icon.css" rel="stylesheet" type="text/css">
   <link  style="width:16px; height=16px;" rel="shortcut icon" href="/static/new_ui/images/logo_s.png">
    <script type="text/javascript" src="/static/new_ui/new_js/jquery.js"></script>
    <script type="text/javascript" src="/static/libs/easyui/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="/static/new_ui/new_js/base_v3.0.js"></script>
    <script type="text/javascript" src="/static/new_ui/new_js/bootstrap.min.js"></script>
    <script type="text/javascript" src="/static/new_ui/new_js/build.js"></script>
    <script type="text/javascript" src="/static/new_ui/new_js/css3-mediaqueries.js"></script>
    <script type="text/javascript" src="/static/new_ui/new_js/themes.plugin.js"></script>
    <link rel="stylesheet" type="text/css" href="/static/new_ui/new_css/datepicker.css">
    <script type="text/javascript" src="/static/new_ui/new_js/datepicker.js"></script>
    <script type="text/javascript" src="/static/new_ui/new_js/pagelation.js"></script>
    <script type="text/javascript" src="/static/new_ui/new_js/zepto.touchwipe.min.js"></script>
    <script type="text/javascript" src="/static/new_ui/new_js/colpick.js"></script>
    <script type="text/javascript" src="/static/food/operator.js"></script>
    <style type="text/css">
    .password-input {
        border: 1px solid #15a94e !important;
    }
    .password-wrong {
        border: 1px solid #ea3a3c !important;
    }
    </style>
</head>

<body style="overflow: hidden;">
    <div class="container-fluid main">
        <!--header Begin-->
        <div class="row-fluid header">
            <div class="logo-bar">
                <div class="logo"><i id="switchs" class="push" title="点击操作导航"></i></div>
            </div>
            <div class="span12 tool-warp">
                <div class="row-fluid tool-bar clearFix">
                    <div class="pull-left top-nav">
                        <ul>
                            <li class="pull-left"><a target="" groupid="28" href="javascript:initMenu(28)" title="数据统计">数据统计</a></li>
                            <li class="pull-left"><a target="" groupid="1" href="javascript:initMenu(1)" title="营销工具">营销工具</a></li>
                            <li class="pull-left active"><a target="" groupid="4" href="javascript:initMenu(4)" title="客户管理">客户管理</a></li>
                            <li class="pull-left"><a target="" groupid="33" href="javascript:initMenu(33)" title="销售管理">销售管理</a></li>
                            <li class="pull-left"><a target="" groupid="32" href="javascript:initMenu(32)" title="审核管理">审核管理</a></li>
                            <li class="pull-left"><a target="" groupid="5" href="javascript:initMenu(5)" title="微官网">微官网</a></li>
                            <li class="pull-left"><a target="" groupid="8" href="javascript:initMenu(8)" title="账号管理">账号管理</a></li>
                        </ul>
                    </div>
                    <div class="pull-right pdr20">
                        <p class="text-right admin-desc"><span></span><a href="javascript:openConfig();" data-toggle="modal"><em class="function_set"></em>功能配置引导</a><span>|</span><a href="javascript:SubmitForm();"><em class="community"></em>客立方社区</a></p>
                    </div>
                </div>
            </div>
            <div class="border-bottom header-border"> </div>
        </div>
        <!--header End-->
        <!--main Begin-->
        <div class="row-fluid">
            <!--leftBar Begin-->
            <div class="leftBar">
                <div class="left-menu active">
                    <a class="parent-menu no-child-menu" target="house-frame" href="/merse/customerManage/all/info.html"><span></span>全部客户列表</a>
                </div>
                <div class="left-menu ">
                    <a class="parent-menu"><span><i></i></span>当前客户状态</a>
                    <ul class="submenu">
                        <li><a target="house-frame" href="/merse/customerManage/registe/info">注册</a></li>
                        <li><a target="house-frame" href="/merse/customerManage/call/info">来电</a></li>
                        <li><a target="house-frame" href="/merse/customerManage/visit/info">到访</a></li>
                        <li><a target="house-frame" href="/merse/customerManage/have_identified/info">认筹</a></li>
                        <li><a target="house-frame" href="/merse/customerManage/back_identified/info">退认筹</a></li>
                        <li><a target="house-frame" href="/merse/customerManage/subscribe/info">认购</a></li>
                        <li><a target="house-frame" href="/merse/customerManage/have_sign/info">签约</a></li>
                        <li><a target="house-frame" href="/merse/customerManage/back_money/info">回款</a></li>
                    </ul>
                </div>
                <div class="left-menu ">
                    <a class="parent-menu"><span><i></i></span>退房/变更记录</a>
                    <ul class="submenu">
                        <li><a target="house-frame" href="/merse/customer/returnhouse/index">退房记录</a></li>
                        <li><a target="house-frame" href="/merse/customer/modify/index">变更记录</a></li>
                    </ul>
                </div>
                <div class="left-menu ">
                    <a class="parent-menu no-child-menu" target="house-frame" href="/merse/estate/commission_authentication/"><span></span>认证佣金客户</a>
                </div>
                <div class="left-menu ">
                    <a class="parent-menu no-child-menu" target="house-frame" href="/merse/customerManage/fans/info"><span></span>粉丝客户</a>
                </div>
                <div class="left-menu ">
                    <a class="parent-menu no-child-menu" target="house-frame" href="/merse/customerManage/abandon/info"><span></span>放弃维护客户</a>
                </div>
                <div class="left-menu ">
                    <a class="parent-menu no-child-menu" target="house-frame" href="/merse/appointment/member/addcustomer.html"><span></span>添加客户</a>
                </div>
                <div class="about-me">Copyright ©2012-2014
                    <br>蜀ICP备12012405号
                    <br>成都初唐网络科技有限公司</div>
            </div>
            <!--leftBar End-->
            <!--rightBar Begin-->
            <div id="rightBar" style="margin-left: 200px;">
                <iframe id="house-frame" name="house-frame" width="100%" height="100%" frameborder="0" src="file:///F:/merse/appointment/member/addcustomer.html">
                </iframe>
            </div>
            <!--rightBar End-->
        </div>
        <!--main End-->
    </div>
    <!-----修改密码弹出层---------------->
    <form id="modifyMerchantOpPassword">
        <div id="revisePass" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
                <h3 class="PopupTitle">修改密码</h3>
            </div>
            <div class="modal-body">
                <div class="clip-con">
                    <div class="input-cont2" style="height:35px;margin-top:20px">
                        <p>
                            <span class="clip-popup-font w65 color-0">账号 :</span><span class="text-margin1">济南初唐公司</span>
                        </p>
                    </div>
                    <div class="input-cont2" style="margin-top:5px">
                        <p>
                            <span class="clip-popup-font w65 color-0">姓名 :</span>
                            <input id="modiry_name" name="name" readonly="" type="text" class="in-text2 wrong h40 w220" value="济南初唐">
                            <span style="color: #ff0000" id="modiry_name_wrong"></span>
                        </p>
                    </div>
                    <div class="input-cont2" style="margin-top:5px">
                        <p>
                            <span class="clip-popup-font w65 color-0">旧密码 :</span>
                            <input id="oldPass" name="oldPass" maxlength="20" type="password" class="in-text2 wrong h40 w220 ">
                            <span style="color: #ff0000" id="noldPass_wrong"></span>
                        </p>
                    </div>
                    <div class="input-cont2" style="margin-top:5px">
                        <p>
                            <span class="clip-popup-font w65 color-0">新密码 :</span>
                            <input id="newPass" name="newPass" maxlength="20" type="password" class="in-text2 wrong h40 w220 ">
                            <span style="color: #ff0000" id="newPass_wrong"></span>
                        </p>
                    </div>
                    <div class="input-cont2" style="margin-top:5px">
                        <p>
                            <span class="clip-popup-font w65 color-0">确认新密码 :</span>
                            <input id="rpwd" name="rpwd" maxlength="20" type="password" class="in-text2 wrong h40 w220 ">
                            <span style="color: #ff0000" id="rpwd_wrong"></span>
                        </p>
                    </div>
                </div>
            </div>
            <div style="height:10px"> </div>
            <div class="modal-footer">
                <button class="button btn-success btn-w100 clip-save" type="button" onclick="modifyPassword()">保存</button>
                <button class="button btn-gray btn-w100" data-dismiss="modal" aria-hidden="true">取消</button>
            </div>
        </div>
    </form>
    <!-----功能配置弹出层---------------->
    <div id="configDiv" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    </div>
    <!-----功能配置弹出层--------------end-->
    <div class="footer clearFix">
        <div class="slide-in">
            <div class="derive-ico"><img src="/static/new_ui/images/derive-ico.png" width="40" height="90" alt=""></div>
            <div class="head cody">
                <div class="company_name">
                    <span>欢迎您<br><span>济南初唐</span></span>
                </div>
                <div class="password_out left20">
                    <p class="index_right">
                        <a href="#revisePass" data-toggle="modal"><span class="index_password"><em class="index_em1"></em><span class="pas">修改密码</span></span></a>
                        <a href="/merse/logout.htm"><span class="index_off"><em class="index_em2"></em><span class="off">注销</span></span></a>
                    </p>
                </div>
            </div>
            <div class="cody dib_positon left5">
                <div class="code-img"><span><img src="/create_qrcode?content=http://m.lsklf.com/pwap/jnct/&amp;download=false&amp;width=180" width="100%" height="100%" alt=""></span></div>
                <div class="code-info">
                    <p>微官网二维码</p>
                    <p class="down-load">
                        <a href="/create_qrcode?content=http://m.lsklf.com/pwap/jnct/&amp;download=true&amp;downloadFileName=阿尔卡迪亚北区" title="下载">下载</a>
                        <a onclick="funWap()" title="微官网" style="margin-left: 20px;" href="javascript:void(0);">预览微官网</a>
                    </p>
                </div>
            </div>
            <div class="bottom-contact">
                <p>客服电话</p>
                <p class="phone-num"><img src="/static/new_ui/images/phone-num-ico.png" width="138" height="18" alt=""></p>
                <p class="call-time">全国免费，周一至周五09:30-18:00</p>
            </div>
        </div>
    </div>
    <form action="http://bbs.lsklf.com/mvnforum/loginprocess" method="post" name="submitform" target="_blank" onsubmit="return false;">
        <input type="hidden" name="MemberName" value="济南初唐公司">
        <input type="hidden" name="MemberMatkhau" value="">
        <input type="hidden" name="FromLoginPage" value="true">
        <input type="hidden" name="AutoLogin" value="">
        <input type="hidden" name="md5pw" value="26153b28927b02cdf2a9c16121a9d9ad">
        <input type="hidden" name="AutoLoginExpire" value="2592000">
        <input type="hidden" name="url" value="">
        <input type="hidden" name="referer" value="http://bbs.lsklf.com/mvnforum/">
    </form>
        <script type="text/javascript" src="/static/new_ui/new_js/base_v3.0.js"></script>
    <script type="text/javascript">
    $.extend({ //jquery extend
        turnOnAjax: function(flag, str) {

            var html = "<div class='modal-backdrop fade in' id='ajaxloadimg' style='z-index:20000'><center><img src='/static/new_ui/img/ajaxloadimg.gif' style='margin: auto;width: 50px;margin-top: 20%;'><p style='color: white;font-weight: bold;'>" + str + "</p></center></div>"
            if (flag == 'on') {
                $("body").append(html)
            } else {
                $("#ajaxloadimg").remove();
            }
        },
    });
    </script>
    <script type="text/javascript">
    function openConfig() {
        //$('#configDiv').load('/merse/config');
        $("#configDiv").load("/merse/config", function(responseTxt, statusTxt, xhr) {
            if (statusTxt == "success") {}
            if (statusTxt == "error") {
                $("#configDiv").html(responseTxt);
            }
            $("#configDiv").modal('show');
        });
    }

    function funWap() {
        window.open('http://m.lsklf.com/pwap/jnct/', '微官网', 'height=505,width=320');
    }

    function SubmitForm() {
        document.submitform.submit();
    }
    $(function() {
        var groupId = $('.pull-left a').attr('groupid');
        initMenu(groupId);
        $($('.pull-left a').parent().get(0)).addClass('active');
        $(".btn-gray").bind("click", function() {
            $("#revisePass .modal-body input[type=password]").val("");
            $("#modiry_name").removeClass("password-wrong");
            $("#newPass").removeClass("password-wrong");
            $("#rpwd").removeClass("password-wrong");
            $("#oldPass").removeClass("password-wrong");
        })
    })
    $(".in-text2").bind("click", function() {
        var $this = $(this);
        $this.addClass("password-input");
    })
    $(".in-text2").bind("blur", function() {
        var $this = $(this);
        $this.removeClass("password-input");
    })

    function initMenu(groupId) {
        $.ajax({
            url: "/initMenu",
            async: false,
            type: "POST",
            dataType: "html",
            data: {
                "groupId": groupId
            },
            success: function(data) {
                $(".leftBar").html(data).ready(function() {
                    var $v = $(".leftBar .active a").eq(0);
                    if (!$v.hasClass("no-child-menu")) {
                        $("#house-frame").attr("src", $(".submenu li").eq(0).addClass("active").find("a").attr("href"));
                    } else {
                        $("#house-frame").attr("src", $(".leftBar .parent-menu").first().attr("href"));
                    }
                });
            },
            error: function(data) {
                //session失效后，重新刷新页面跳转到登录页面；
                window.location.href = window.location.href;
            }
        });
    }

    function modifyPassword() {
            $("#noldPass_wrong").empty();
            if ($.trim($("#modiry_name").val()) == "") {
                $("#modiry_name_wrong").html('姓名不能为空');
                $("#modiry_name").addClass("password-wrong");
                $("#modiry_name").focus();
                return;
            } else if ($("#modiry_name").val().length > 15) {
                $("#modiry_name_wrong").html('姓名不能超过15个字符');
                $("#modiry_name").addClass("password-wrong");
                $("#modiry_name").focus();
                return;
            } else {
                $("#modiry_name").removeClass("password-wrong");
                $("#modiry_name_wrong").html('');
            }
            if ($.trim($("#newPass").val()) == "") {
                $("#newPass_wrong").html('新密码不能为空!');
                $("#newPass").addClass("password-wrong");
                $("#newPass").focus();
                return;
            } else {
                $("#newPass").removeClass("password-wrong");
                $("#newPass_wrong").html('');
            }
            if ($.trim($("#rpwd").val()) == "") {
                $("#rpwd_wrong").html('确认密码不能为空');
                $("#rpwd").addClass("password-wrong");
                $("#rpwd").focus();
                return;
            } else {
                $("#rpwd").removeClass("password-wrong");
                $("#rpwd_wrong").html("");
            }
            if (!($.trim($("#newPass").val()) == $.trim($("#rpwd").val()))) {
                $("#rpwd_wrong").html('两次密码一致!');
                $("#newPass").addClass("password-wrong");
                $("#rpwd").addClass("password-wrong");
                $("#rpwd").focus();
                return;
            } else {
                $("#newPass").removeClass("password-wrong");
                $("#rpwd").removeClass("password-wrong");
                $("#rpwd_wrong").html("");
            }
            $.ajax({
                url: "/merse/modifyPassword.htm",
                type: "POST",
                data: $("#modifyMerchantOpPassword").serialize(),
                success: function(data) {
                    if (!data.success) {
                        $("#oldPass").addClass("password-wrong");
                        $("#noldPass_wrong").html(data.msg);
                        return;
                    } else {
                        $("#revisePass").css("display", "none");
                        $(".modal-backdrop").remove();
                        $("#revisePass .modal-body input[type=password]").val("");
                        $("#modiry_name").removeClass("password-wrong");
                        $("#newPass").removeClass("password-wrong");
                        $("#rpwd").removeClass("password-wrong");
                        $("#oldPass").removeClass("password-wrong");
                    }
                },
                error: function(data) {
                    alertMsg("系统内部出错,请联系管理员!");
                }
            });
        }
        /*function parserToJson(strData) {
        return (new Function("return " + strData))();
        }*/
    function alertMsg(text) {
        var htmlVal = '<div class="layer-box"><h6 class="layerTitle">提示<a href="javascript:;" class="closeBtn" onclick="EasyMask.close()"></a></h6><div class="popdiv"><div style="font-size:16px;">' + text + '</div><div class="btnrow clearfix"></div></div></div>';
        EasyMask.init({
            width: 340,
            height: 170,
            html: htmlVal,
            opacity: 1,
            molor: 'white',
            fclose: false
        });
    }
    </script>
    <!--[if lte IE 6]>
    <script src="http://static.cc.com/static/new_ui/js/picpng.js"></script>
    <!--<script type="text/javascript">
    DD_belatedPNG.fix('*');
    </script>-->
</body>

</html>
